package main

import (
	"os"
)

func main(){
	filePath := "../1.txt"
	file,_ := os.OpenFile(filePath,os.O_TRUNC | os.O_WRONLY,0666)
	defer file.Close()
	slice := make([]byte,5)
	for i := 1;i<5;i++{
		slice[i] = 'a'
	}
	file.Write(slice)
}
